//
//  TopicsTableViewCell.m
//  Koala_Fm
//
//  Created by dllo on 16/2/25.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "TopicsTableViewCell.h"

@implementation TopicsTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.image = [[UIImageView alloc]init];
//        self.image.backgroundColor = [UIColor yellowColor];
        [self.contentView addSubview:_image];
        [_image release];
        
        self.lable = [[UILabel alloc]init];
//        self.lable.backgroundColor = [UIColor yellowColor];
        [self.contentView addSubview:_lable];
        [_lable release];
        
    }
    return self;
}

- (void)layoutSubviews{
    [super layoutSubviews];
    _image.frame = CGRectMake(0, 5, self.contentView.frame.size.width, 200);
    _lable.frame = CGRectMake(5, 170, self.contentView.frame.size.width, 25);
}







- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
